﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true"
    CodeBehind="FindProjekt.aspx.cs" Inherits="ASP_klient.WebForm2" %>

<asp:Content ID="HeadContentFindProjekt" ContentPlaceHolderID="head" runat="server">
    </asp:Content>


<asp:Content ID="BodyContentFindProjekt" ContentPlaceHolderID="MainContent" runat="server">
    <h2> Opret Projekt-oplysninger. </h2>
    <br />

    Dobbeltklik på den ønskede projekt for redigering.<br />
    
    <asp:GridView ID="gvVisProjekt" runat="server" AllowPaging="True" 
        AutoGenerateColumns="False" BackColor="White" BorderColor="#E7E7FF" 
        BorderStyle="None" BorderWidth="1px" CellPadding="3" 
        DataSourceID="ObjectDataSourceProjekt" GridLines="Horizontal" Height="250px" 
        onselectedindexchanged="GridView1_SelectedIndexChanged" 
        ShowHeaderWhenEmpty="True" Width="900px">
        <AlternatingRowStyle BackColor="#F7F7F7" />
        <Columns>
            <asp:BoundField DataField="projektnavn" HeaderText="projektnavn" 
                SortExpression="projektnavn" />
            <asp:BoundField DataField="projektnummer" HeaderText="projektnummer" 
                SortExpression="projektnummer" />
            <asp:BoundField DataField="projektslut" HeaderText="projektslut" 
                SortExpression="projektslut" />
            <asp:BoundField DataField="projektstart" HeaderText="projektstart" 
                SortExpression="projektstart" />
        </Columns>
        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
        <SortedAscendingCellStyle BackColor="#F4F4FD" />
        <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
        <SortedDescendingCellStyle BackColor="#D8D8F0" />
        <SortedDescendingHeaderStyle BackColor="#3E3277" />
    </asp:GridView>
    <asp:ObjectDataSource ID="ObjectDataSourceProjekt" runat="server" 
        SelectMethod="VisProjekter" 
        TypeName="ASP_klient.WilkeServiceRef.WilkeServiceClient">
    </asp:ObjectDataSource>
    
    <br />
</asp:Content>